package com.github.baichuan.application.scaffold.rest.dto.audit;

import com.github.baichuan.mapping.Mapping;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;

@Schema(title = "用户操作日志")
@Getter
public class AuditGridView {
    @Schema(title = "操作人")
    @Mapping
    private String operator;

    @Schema(title = "操作时间")
    @Mapping
    private String operationTime;

    @Schema(title = "名称")
    @Mapping
    private String name;

    @Schema(title = "代码")
    @Mapping
    private String code;

    @Schema(title = "IP地址")
    @Mapping
    private String ip;

    @Schema(title = "访问路径")
    @Mapping
    private String path;

    @Schema(title = "请求")
    @Mapping
    private String request;

    @Schema(title = "响应")
    @Mapping
    private String response;

    @Schema(title = "响应状态")
    @Mapping
    private int responseStatus;
}
